package com.xiaofu.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import java.util.concurrent.TimeUnit;

/**
 * @author luofuzhou
 * @date 2024/7/29
 * @dec 描述
 */
@Service
@Slf4j
public class ScheduledService {

/*    @Scheduled(cron = "0/2 * * * * *")
    public void scheduling() throws InterruptedException {
        TimeUnit.SECONDS.sleep(10);
        log.info("你好");
    }*/
}
